#！/bin/sh
if [ $? -eq 0]
then 
echo "ending"
else
exit 1
fi